package com.ypinkj.app.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author LF
 * @since 2020-10-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Industry对象", description="行业信息")
public class Industry implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "行业ID")
    @TableId(value = "industry_id", type = IdType.ID_WORKER_STR)
    private String industryId;

    @ApiModelProperty(value = "行业名字")
    private String industryName;

    @ApiModelProperty(value = "上级id")
    private String parentId;


}
